<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2020/11/16
  Time: 下午4:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/static/bootstrap.min.css">
    <script src="/static/js/jquery-2.2.4.js"></script>

</head>
<body>

    <form id="myForm"  action="/doLogin">
        <font style="color: red">${errorMsg}</font>
        <div>
            <label>
                用户名
            </label>
            <input id="username" type="text" name="username" class="form-control">
        </div>
        <div>
            <label>
                密码
            </label>
            <input type="text" id="pwd" name="password" class="form-control">
        </div>

        <div>
            <label>
               验证码
            </label>
            <input type="text" id="code" name="code" class="form-control">
            <img src="/code">
        </div>

        <div>
            <input type="submit" class="btn-success" id="btn" value="提交"/>
        </div>
    </form>

</body>
</html>
